#ifndef OBBLACKGROUND_H
#define OBBLACKGROUND_H

#include "d3dx9.h"
#include "ObObject.h"

class ObBlackGround: public ObObject{
public:
	enum INFO { S10 = 85, S20, S40, S80 };
	ObBlackGround();
	~ObBlackGround();
	ObBlackGround(int id);

	bool setId(int nid);
	static bool checkType(int obID);

	void update(float dt);
	void render(ID3DXSprite* mSprite);

	static bool loadTexture();
	static bool releaseTexture();

private:
	static IDirect3DTexture9* mTex;
	float mScale;
};

#endif